package com.dean.constants;

import java.time.LocalDate;

/**
 * @ClassName Constants
 * @Description 常量
 * @Author dean
 * @Date 2021/10/3 10:03
 */
public class DeanUiConstants {
    public static final String DEFAULT="default";

    /**
     * log  菜单起始编号
     */
    public static final String LOG_MENU_CHAR="99-";
    /**
     * select  sql查询起始字符
     */
    public static final String START_SELECT_CHAR="select";
    /**
     * select  sql查询起始字符
     */
    public static final String QUERY_CHAR="query";
    /**
     * 分号
     */
    public static final String SEMICOLON=";";
    /**
     * 日志文件路径
     */
    public static final String LOG_FILE ="/dean/logs/dean_tool."+ LocalDate.now()+".log";
    /**
     * rownum
     */
    public static final String ROWNUM="rownum";
    /**
     * rownum
     */
    public static final String ERROR="ERROR";

    /**
     * REMARK
     */
    public static final String REMARK="REMARK";

    /**
     * 配置保存目录
     */
    public static final String INIT_PATH = "/dean/init/";

    /**
     * resource 需要移动的文件
     */
    public static final String RESOURCE_PATH="scripts,templates,icons,jdbc.properties,dean_tool.db,minio.properties";

    public static final String CSV = "CSV";

    public static final String EXCEL = "EXCEL";

    public static final String INSERT_SQL = "INSERT SQL";
}
